begintownscript;

variables;

int i,j,k,r1,choice;

body;

beginstate INIT_STATE;
        if (char_ok(6)) {
                j = 0;
                while (j < 20) {
                        change_spell_level(6,0,j,2);
                        change_spell_level(6,1,j,2);
                        j = j + 1;
                }
        }
//        if (get_flag(150,0) == 1) {
//                i = 6;
//                        while (i < 52) {
//                                if (char_ok(i) {
//                                        erase_char(i);
//                                }
//                        i = i + 1;
//                        }
//        }
break;

beginstate INIT_STATE;
        add_range_to_group(6,55,1);
        if (get_flag(150,0) == 1) {
                erase_char(1001);
        }
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
        block_entry(1);
        move_to_new_town(1,24,24);
break;

beginstate 11;
break;